import BaseController from "../../cfw/mvc/BaseController";
import Player from "./Player";
import ModuleManager from "../../cfw/module/ModuleManager";


export default class PlayerController extends BaseController {


    private static ins: PlayerController;

    static instance() {
        if (!this.ins) {
            this.ins = new PlayerController()
        }
        return this.ins;
    }

    intoLayer() {

        this.pushView('prefabs/LevelUpTipView', 'LevelUpTipView',Player.instance(), ModuleManager.publicLoader())
    }
    // onLoad () {}


    // update (dt) {}
}
